package Implement_CatandDog;

public class Demo {

	public static void main(String[] args) {
		Animal cat = new Cat("跳跳",12);
		cat.eat();
		

		Animal dog = new Dog("旺财",10);
		dog.eat();
		
		
		Jumpping jump = new Cat();
		jump.Jump();
		
		System.out.println("----------");
		
		Cat cat1 = new Cat();
		cat1.setAge(1);
		cat1.setName("汤姆");
		System.out.println(cat1.getAge()+","+cat1.getName());
		cat1.eat();
		cat1.Jump();
		
		System.out.println(4<<30);
	}

}
